<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    
    <h:head>
        <title>Sobre o Sistema</title>
    </h:head>
    
    <h:body>
        
       <h:form id="menuprincipal">
        
       <p:menubar>
       
          <p:submenu label="Cadastrar" icon="ui-icon-document">  
             <p:menuitem value="Candidatos" icon="ui-icon-document" url="/faces/cadastro_candidato.xhtml" ajax="true" />
             <p:menuitem value="Eleitores" icon="ui-icon-document" url="/faces/cadastro_eleitor.xhtml" ajax="true" />
          </p:submenu>
            
          <p:submenu label="Excluir" icon="ui-icon-close">  
             <p:menuitem value="Excluir Eleitores" url="/faces/exclui_eleitor.xhtml" icon="ui-icon-close" ajax="true" />
          </p:submenu>
  
          <p:submenu label="Editar" icon="ui-icon-pencil">  
             <p:menuitem value="Editar Candidatos" url="/faces/seleciona_candidato.xhtml" icon="ui-icon-pencil" ajax="false" />
          </p:submenu>
       
          <p:submenu label="Pesquisar" icon="ui-icon-search">
             <p:menuitem value="Pesquisar Eleitor" icon="ui-icon-search" url="/faces/pesquisa.xhtml" ajax="true" />
             <p:menuitem value="Exibir Todos" icon="ui-icon-search" url="/faces/relatorio.xhtml" ajax="true" />
          </p:submenu>
           
           <p:submenu label="Gráficos" icon="ui-icon-search">
               <p:menuitem value="Total de votos" icon="ui-icon-search" url="/faces/total_votos.xhtml" ajax="false" /> 
           </p:submenu>
  
          <p:submenu label="Ajuda" icon="ui-icon-help">  
              <p:menuitem value="Sobre o Sistema" icon="ui-icon-help" url="#" ajax="false" onclick="dialogo.show()" />
          </p:submenu>
           
       </p:menubar>  
      
    </h:form>
    
    </h:body>
    
</html>